/**
* AutoSWF - Cody Cushing. March 26, 2009
* Copyright (c) 2009 Cody Cushing
* No use restrictions. Maintain this notice in all versions. 
**/

package com.autoswf.taskrunner
{
	import com.anywebcam.mock.Mock;
	
	public class MockRequest implements IRequest
	{
		public var mock:Mock = new Mock(this);
		
		public function MockRequest()
		{
			
		}


		public function get id():String
		{
			return mock.id;
		}
		
		public function get path():String
		{
			return mock.path;
		}
		
		public function get type():String
		{
			return mock.type;
		}
		
		public function get completeHandler():Function
		{
			return mock.completeHandler;
		}
		 
		public function get errorHandler():Function
		{
			return mock.errorHandler;
		}

		public function set result(value:*):void
		{
			mock.data = value;
		}
		
		public function get result():*
		{
			return mock.data;
		}
		
		
		
	}
}